/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cse.p2p.common;

import java.io.File;

/**
 *
 * @author TrungHieu
 */
public abstract class CommonSettings {

	public static final int SERVER_SERVERSOCKET = 5000;
	public static final int SERVER_DATA_SERVERSOCKET = 5001;
	public static final int CLIENT_SERVERSOCKET = 4000;
	public static final int CLIENT_DATA_SERVERSOCKET = 4001;
	/**
	 * The default size of each buffer
	 */
	public static final long DEFAULT_LIMIT_UP = 100 * 1000;
	public static final long DEFAULT_LIMIT_DOWN = 100 * 1000;
	public static final int DEFAULT_PACKAGE_SIZE = 1024 * 1024;
//	public static String HOST_ADDRESS = "localhost";
	public static String HOST_ADDRESS = "192.168.2.1";
	public static String DEFAULT_TEMP_FOLDER = ( new File( "." ) ).getAbsolutePath() + File.separatorChar + "temp";
}
